home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 5791-.end / dmg-6165 / vlm.txt < prev   
Text File  |  1997-11-15  |  12KB  |  219 lines

  1. YaK's Quick Intro to VLM Hacking
  2.  
  3. From: yaK 
  4. Hacking the VLM - A Brief Introduction
  5.  
  6. · The Good News
  7.  
  8. There is a backdoor left in the VLM which allows the user to get at the edit
  9. mode that was used to create the banks of VLM effects. You can get in there
  10. and roll-your-own FX, and it's not hard to come up with stuff that is a *lot*
  11. better than many of the default FX.
  12. · The Bad News
  13.  
  14. There is no provision for saving your hacks. They are entirely transient, and
  15. you can wave them bye-bye as soon as you switch to another FX bank -and
  16. unfortunately, whenever you open the lid of the Toilet to change the CD, it
  17. switches banks into a special Jaguar-logo bank, and it's bye bye hacks.
  18. Bummer, I wish it didn't do that, 'coz otherwise I'd just leave my VLM on all
  19. the time and evolve 9 banksworth of top hacks...
  20.  
  21. Also, the edit interface is buggy and pretty user-hostile; it's got no error-
  22. checking and it's possible to crash the VLM, or slow it down to a crawl, if you
  23. tweak certain parameters out of range. Hell, it was never intended for
  24. end-users, only for use by a certain deranged bovine.
  25.  
  26. · Why Bother Then?
  27.  
  28. Because it's fun. Because if you're interested, you can find out a lot about how
  29. the VLM works. Because a lot of the default FX are fairly non-optimal, largely
  30. 'coz at the time I was designing the banks I had pneumonia and was feeling like
  31. Bovine Backscatter, and I always find that I make better FX when I feel good.
  32. And although you can't save the hacks, you can do what I do, and keep a tape
  33. in the VCR and lay down some vid whenever you come up with a particularly
  34. nice one.
  35.  
  36. · How do I get there?
  37.  
  38. Easy. Select the effect you want to base your hack on. Then, in VLM-mode,
  39. hold down *,1,3,0 on the Jaggi control pad. This should bring up a menu called
  40. Spectrum and Triggers. That's not it though - that was just a red herring to
  41. confuse people looking for the hack ;-) While on the Spectrum and Triggers
  42. screen, press up,down,up,down... 8 times (so the cursor wraps from Trigger 1
  43. to Trigger 5 and back again 8x) and then the display will change to Edit Mode.
  44. At that point you're in.
  45.  
  46. · What do I do when I get there then?
  47.  
  48. Okay, first it helps to have some idea of what is going on inside any particular
  49. VLM setting. Each individual setting consists of up to six effects, each of
  50. which can take a shitload of parameters, which define how that effect changes
  51. over time. Parameters can be attached to waveform generators, to user control
  52. from the joypad, or to the spectrum triggers to create an audio-responsive
  53. effect.
  54.  
  55. The most common types of effect you will see in the VLM are:
  56.  
  57. Digital Video Feedback area:
  58. DVF is what gives you all those cool swirly screen-filling patterns and
  59. persistence fields. It is, however, quite an expensive effect in terms of proc
  60. power (one is throwing rather a lot of pixels around doing scaled rotates of the
  61. entire screen)... if you can live with a smaller DVF area on some of the effects
  62. the speed and responsiveness of many of the effects can be greatly enhanced. I
  63. have a whole new class of 60Hz feedback FX that I could kick myself for not
  64. putting in the default banks...
  65.  
  66. Draw Spectrum As Intensities:
  67. This basically plots the output of the FFT through the symmetry generator. On
  68. its own, or combined with DVF, this is a good setting to use for effects that you
  69. want to be precisely audio-reactive. Put it over some nice DVF or a persistence
  70. field, lovely.
  71.  
  72. Draw a Ring of Pixels:
  73. Does just that, through the sym generator, with various parameters applied so
  74. you can change phases, number of points,pixel size, etc... a very versatile
  75. thing, simple though it is.
  76.  
  77. Draw Plasma:
  78. Draws a tile of plasma on the screen. Useful for putting in the middle of a nice
  79. DVF field as a source effect. Can be programmed to flash on trigger band
  80. events too. Try hooking oscillators up to the XY position when it's in a 60Hz
  81. DVF field - yummy.
  82.  
  83. Empty slots cannot be edited. Time was when pushing B on an empty slot
  84. would bring up two pages' worth of FX that you could build in there, but sadly
  85. that came out. I wish I had never taken it out now. Damn, and I wish I had not
  86. removed Save Bank either...
  87.  
  88. There are a few others, starfields and the like. Play with them. Some of them
  89. are quite cool.
  90.  
  91. Fiddling Around With Stuff
  92.  
  93. When you press B to edit an effect, you are presented with three choices - Edit
  94. source function, which allows you to see and tweak the parameters that make
  95. up the basis of the effect; Edit symmetry generator, which allows you to
  96. twiddle with the sym generator, for effects that go through that pipe (not all FX
  97. do - DVF and the plasma don't use the sym gen at all, so changing stuff on
  98. theyr sym generator pages does nothing useful); and Edit Source Waves. Each
  99. effect has 8 programmable waveform generators which can be attached to any
  100. of the parameters defining the effect or the symmetry. Edit Source Waves is
  101. where you go to adjust the speed, waveform etc of the waveform generators.
  102.  
  103. Edit Source Function
  104.  
  105. If you enter this menu, you will be presented with a list of the variables which
  106. control how that effect is displayed. In a DVF effect's Source Function menu,
  107. for example, you will see parameters controlling the Window Size, Scale,
  108. Rotate Angle, etc. You are free to cursor around this menu, twiddle the values,
  109. and see what happens to the display. (It helps to have a CD playing while you
  110. fiddle, so that all the effects are active and you can see what you are doing).
  111. Menu items with (X,Y) after them represent pairs of variables. When you
  112. select a variable to edit, you will be presented with a slider, a 2-way slider, a
  113. position marker, or crosshairs, depending on the effect. Just use the joypad to
  114. change the values. Anything you change will stay changed for the life of your
  115. hack (that is until you change banks or open the Toilet).
  116.  
  117. While editing a variable, you may see the message 'Press * to Attach
  118. Waveforms'. If you press *, it takes you to the Attach Waveforms screen,
  119. which has a totally crappy and confusing UI, but which is nonetheless the key
  120. to the cooler aspects of VLM usage. It works in conjunction with the
  121. Waveform Edit page, and in a sane and rational world, would have been
  122. integrated in with that page. The wonderfully-informative Attach Waveforms
  123. screen presents two rows of the numbers 1-8. The top row represents
  124. waveform generators linked to this variable. If one or more of these numbers
  125. are highlighted, it means there are generators already linked to this variable.
  126. You can attach or detach a generator to the variable by pressing the
  127. corresponding number key 1-8. You can attach as many generators as you like
  128. - the resultant waveform is the sum of all the input waveforms.
  129.  
  130. You also can adjust the amplitude of the waveform here. Dismally, there is no
  131. display actually showing you the amplitude - you just have to watch the
  132. display to see the result and kinda fish about. Also, for some inane reason, if
  133. the waveform is attached to an X-component you adjust the amplitude with
  134. left/right, and if it is a Y component you use up and down. I think I was
  135. planning to put in an actual display of the waveforms here, but I got ill and
  136. never finished it off. As it is, it's sucky and counterintuitive. Oh well... The
  137. bottom row of 8 numbers allows you to modulate the attached waveform(s)
  138. with the output of an envelope generated by any of the five spectrum trigger
  139. generators. You press #, then the number of the trigger 1-5 (6, 7 and 8 are for
  140. the three joypad buttons) to toggle the trigger attach. And for some reason, like
  141. it was never properly debugged, when you toggle a trigger off, often the digit in
  142. the bottom row will not de- highlight. Oops. After you have attached
  143. waveforms, you will probably want to mosey on over to the:
  144.  
  145. Edit Source Waves menu.
  146. Here, you can select a waveform generator by cursoring up and down. While
  147. the cursor is on a generator, that wave is displayed in the blue box. You can
  148. increase or decrease the frequency with A and C, and slipthe phase by
  149. Left/Right. You can change the wave type by pressing a number on the
  150. numeric pad. User X and User Y translate to the 'position controlled by the
  151. joypad in VLM Interactive mode.
  152.  
  153. Edit Symmetry Generator is a very interesting place to be for all those particle
  154. effects and anything else that goes through the sym generator. In this menu
  155. you can twiddle, attach waveforms to and generally piss about with everything
  156. to do with symmetry.
  157.  
  158. The sym generator uses two basic kinds of symmetry, planar 8-way reflection,
  159. which is quick, and rotational, which is very nice but considerably slower. The
  160. two types can be combined. Many of the items on the Symmetry page only
  161. apply to Rotational symmetry, and will have no effect if Rotational is switched
  162. off.
  163.  
  164. You set the sym types under the Symmetry Type menu, not surprisingly.
  165. Pressing 9 on this page toggles rotational sym off and on, and due to quite
  166. possibly the same bug as on the Waveform Attach screen, often the '9' in the
  167. middle will be incorrectly highlighted. It's usually pretty obvious when
  168. rotational is on though. Keys 1-8 toggle on and off the planes of the 8-way
  169. symmetry. Set up your types, and then go and have a fiddle with the
  170. parameters as in the Edit Source Function mode. Since you can't add or delete
  171. effects, the nature of your hacks will be in part defined by what effect types
  172. are in the bank you choose to edit, so if you want to do a lot of DVF stuff, try
  173. bank 3 or 4, and if you like particles, bank 1 or 2, and so on. You can switch
  174. between, and hack, all effects within a bank, but *if you change banks they are
  175. lost*. Be careful!
  176.  
  177. And, basically, there we have it (as I said to Flossie as I led her into the
  178. concealing darkness of the sheep-shed). Enough stuff to get you started
  179. playing about with VLM editing. Apologies for the crappy UI, but I never had
  180. time to really bring it up to scratch before I got that bloody pneumonia. As it is
  181. it was about a year between finishing the VLM code and the release of the
  182. CD-ROM, and I wish I had been able to spend a few more months at it. Both
  183. the FX and the edit mode could have been a lot nicer! Oh well, next time... I've
  184. already got some awesome stuff running on [closes his muzzle and remembers
  185. the three letters N, D and A] ;-)
  186.  
  187. and oh yeah, I better mention:
  188.  
  189. CAVEATS: Here Be Bugs'n'Beasties!
  190.  
  191. The error checking on the UI is at best sucky and at worst nonexistant. It is
  192. quite possible to either choke up the VLM with some incredibly intensive sym
  193. mode that will have it doing one frame per Sunday, and you and even kill it
  194. with an honest to Ghu, thank-you-and-goodnight, little-silicon-legs-in-the- air
  195. crash. There are a few danger areas which I shall warn you of now:
  196.  
  197. · Positioning a DVF window too far off the edge of the screen can kill the
  198. system
  199.  
  200. · Attaching waveforms to DVF window size and position can be fatal. Look
  201. out!
  202.  
  203. · Attaching waveforms to the Rotational Symmetry Order can cause it to wrap
  204. to negative, whuch translates to something greater than 32767, which,as a sym
  205. order, will cause the system to choke most heinously. Won't killit, but the
  206. frame rate will be measured in minutes per frame hehe...
  207.  
  208. Don't worry, killing the system will not do any permanent damage. The default
  209. banks are tucked away snug in ROM and will be restored when you restart the
  210. system, no matter how badly you take it down.
  211.  
  212. Well, I shall go and post this now... have fun and Happy Hacking!
  213.  
  214. \
  215. (:-) - the Beastly Boanthrope
  216. /
  217.  
  218.                                   Back to the VLM Page 
  219.